﻿<script type="text/javascript">
if(typeof tinymce==='undefined'){document.write('<script src="@Url.Content("~/Scripts/tinymce/tinymce.min.js")" type="text/javascript"><\/script>');}
</script>

<script type="text/javascript">
(function(){tinymce.init({mode:"exact",elements:"@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)",theme:"modern",height:500,width:790,plugins:["advlist autolink lists link image charmap print preview hr anchor pagebreak","searchreplace wordcount visualblocks visualchars code fullscreen","insertdatetime media nonbreaking save table contextmenu directionality","emoticons template paste textcolor"],toolbar1:"insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",toolbar2:"print preview media | forecolor backcolor emoticons",image_advtab:true,templates:[{title:'Test template 1',content:'Test 1'},{title:'Test template 2',content:'Test 2'}]});})();
</script>

@Html.TextArea(string.Empty,ViewData.TemplateInfo.FormattedModelValue)